
 <?php 
  require_once('nav.php');
 ?>
    <div class=" col-md-offset-1 col-sm-9 col-md-10">
      <?php 
         $id=$_GET['id'];
         $pic=$_GET['pic'];
    $sql="select * from jiaju where zq_id={$id}";
    $result=fetch_array($sql);     
?>
   <center><h3>家具详细信息</h3></center>
   <table class="table table-hover"> 
   <tr>
   <?php  
     foreach ($result as $row) {
      echo '<td class="col-md-2 col-xs-3 "><img src=upload/'.$pic.'  width=250 height=250></td>';
      echo '<div class="col-md-10 col-xs-9 ">';
      echo '<td><h3>'.$row['zq_name'].'</h3></br>
                <h4>品牌：'.$row['zq_brand'].'</h4></br>
                <h4>介绍：'.$row['zq_intro'].'</h4></br>
            </td>';     
      echo '</div>';
      echo '</div>'; 
    } 
      echo '</tr>';
      echo '</table>';
   
      ?>
  


    </div>
    <?php 
      require_once('footer.php');
     ?>
 
   